{ pkgs, ... }:

{

  imports = [ ./modules/default.nix ];

  # Home Manager needs a bit of information about you and the
  # paths it should manage.
  home = {
    username = "gg";
    homeDirectory = "/home/gg";

    stateVersion = "22.11";
  };


  home.packages = with pkgs; [
       wayland
       wdisplays
       wl-clipboard
       wf-recorder
       wireshark
       xdg-desktop-portal-hyprland
       gnome3.adwaita-icon-theme
       foot
       firefox
       feh
       mpv
       xfce.thunar
       virt-manager

       wineWowPackages.stable
       winetricks
       protonup-qt
       lutris
       
       qbittorrent
       xdg-utils
       dconf
       brightnessctl
       bat
       networkmanagerapplet
       schildichat-desktop-wayland
       p7zip
       lshw
       intel-gpu-tools
       glxinfo

       vulkan-loader
       vulkan-validation-layers
       vulkan-tools

       lutris

       obs-studio
  ];

  home.sessionVariables = {
  	XDG_RUNTIME_DIR="/run/user/$(id -u)";
        MOZ_ENABLE_WAYLAND=1;
	CLUTTER_BACKEND="wayland";
	ECORE_EVAS_ENGINE="wayland-egl";
	ELM_ENGINE="wayland_egl";
	SDL_VIDEODRIVER="wayland";
	NO_AT_BRIDGE=1;
	GDK_BACKEND="wayland";
	QT_STYLE_OVERIDE="GTK4";
  };

  services = {
  	network-manager-applet.enable = true;
	dunst.enable = true;
  };

  programs = {
       home-manager.enable = true;
      # waybar.systemd.target = "graphical-session.target";
  };
}
